include_directories(.. ${CMAKE_CURRENT_BINARY_DIR} ${EIGEN2_INCLUDE_DIR} ${QT_INCLUDES}
  ${CMAKE_CURRENT_SOURCE_DIR})

set(driver_SRCS
  abstractdriver.cpp
  gl1.cpp
  gl3.cpp
  texturemanager.cpp
)

set(driver_HDRS
  shader_p.h
  buffer_p.h
  fbo_p.h
  utils_p.h
)

add_library(driver ${driver_SRCS} ${driver_HDRS})
target_link_libraries(driver storage)
add_dependencies(driver storage)
